package com.holy.experiment11.Student;

import lombok.Data;

@Data  //自动获生成getter and setter
public class Student {
    private Long id;
    private String firstname;
    private String lastname;
    private String email;
    private Integer age;

    public Student(Long id, String firstname, String lastname, String email, Integer age) {
        this.id = id;
        this.firstname = firstname;
        this.lastname = lastname;
        this.email = email;
        this.age = age;
    }

    //Getters and Setters
}
